import React from 'react'
import TodoFooter from './components/TodoFooter'
import TodoHeader from './components/TodoHeader'
import TodoMain from './components/TodoMain'
// import { useSelector } from 'react-redux'

export default function App() {
  // 测试确实 Redux 配置好了，通过 react-redux
  // const todo = useSelector((state) => state.todo)
  // console.log(todo) // []
  return (
    <section className='todoapp'>
      <TodoHeader />
      <TodoMain />
      <TodoFooter />
    </section>
  )
}
